/*	
Author:kermit
Email:455196886@qq.com
Company:http://dragontrail.com/
Creattime:2018-1-18
*/
//依赖第三方库
import "./assets/vendor/flexible.js";//移动端适配方案
import 'font-awesome/css/font-awesome.css';//字体图标库
import Vue from "vue/dist/vue.js";//渐进式mvvm框架
import Swiper from "swiper";//滑动插件
import 'swiper/dist/css/swiper.min.css';//滑动插件样式
import 'jquery/jquery.js';//引入jquery

import "./assets/css/app.less";
import Common from "./assets/js/common.js";
console.log('Common', Common);


var app = new Vue({
    el: '#app',
    mounted:function(){
        this.swiper = new Swiper('.swiper-container', {
            loop: true,
            // 如果需要分页器
            pagination: {
                el: '.swiper-pagination',
            },
            // 如果需要前进后退按钮
            navigation: {
                nextEl: '.swiper-button-next',
                prevEl: '.swiper-button-prev',
            },
            // 如果需要滚动条
            scrollbar: {
                el: '.swiper-scrollbar',
            },
        })
    }
})



